import request from "@/utils/request"
export function CreateCarouselApi(data) {
  return request({
    url: '/Carousel',
    method: 'post',
    data
  })
}

export function updateCarouselApi(data) {
  return request({
    url: '/Carousel',
    method: 'put',
    data
  })
}
export function deleteCarouselApi(data) {
  return request({
    url: '/Carousel',
    method: 'put',
    data
  })
}
export function getCarouselListApi() {
  return request({
    url: '/Carousel/list',
    method: 'get'
  })
}